package com.qipay.sp;

import com.qipay.baas.model.SpConfig;

import java.util.List;
import java.util.Map;

public interface SpConfigService {
    Map<String, Object> getKeyValues(Long spid);

    String getValue(Long spid, String key);

    int insert(SpConfig sp);
    int update(SpConfig sp);
    int delete(int id);
    SpConfig get(int id);
    List<SpConfig> getBySpId(Long spid);

    int deleteParam();
}
